package com.ape9527.bot.controller;

import com.ape9527.bot.core.Const;
import com.ape9527.bot.utils.http.HttpUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author YuanShuai[apeblog@163.com]
 */
@RestController
@RequestMapping("/bot")
public class BotMessageController {

    @GetMapping("/profile")
    public String profile(){
        String s = HttpUtil.sendGet(Const.LOGIN_INFO, null, null, null);
        return s;
    }

}
